Hide axis
par(xaxt='n')
or
plot(...,xaxt='n')
Show the axis
par(xaxt='s')
Print the x axis
axis(1, at=at, labels=labels)
Example:
par(xaxt='n') plot(1:10) x = c(1,3,7,10) par(xaxt='s') axis(1, at=x, labels=x)
Hide Comments
Hide Comments